from app.model import mysql


async def get_sys_config(variable) -> mysql.SysConfig:
    """
    获取系统配置
    :param variable:
    :return:
    """
    return await mysql.SysConfig.get_or_none(variable=variable)
